<script setup name="WastageAssets">
import WastageAssetsPannel1 from "@/views/visual/modules/wastageAssetsPannel1.vue";
import WastageAssetsPannel2 from "@/views/visual/modules/wastageAssetsPannel2.vue";
import { userStore } from "@/pinia/user";

const route = useRoute();
const user = userStore().profile;
const title = computed(() =>
  route.meta.title ? user.company + "-" + route.meta.title : user.company
);
</script>

<template>
  <div class="ps_board wastageAssetsPannel">
    <ps-header :title="title" :showDecoration5="false"></ps-header>
    <div class="wastageAssetsPannel-item">
      <WastageAssetsPannel1 />
    </div>
    <div class="wastageAssetsPannel-item">
      <WastageAssetsPannel2 />
    </div>
  </div>
</template>

<style scoped lang="scss">
.wastageAssetsPannel {
  display: flex;
  flex-direction: column;
  &-item {
    flex: 1;
  }
}
</style>
